package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.webvo.SkuItemVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;

import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 20:55:42
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //sku检索
    PageUtils queryPageByCondition(Map<String, Object> params);

    void saveinfo(SkuInfoEntity skuInfoEntity);
    //详情页查询
    SkuItemVo skuitem(Long skuId) throws ExecutionException, InterruptedException;
}

